namespace MyBlog.DataEntity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    public partial class Tbl_MsgReply
    {
        public Tbl_MsgReply()
        {
            MsgReplyList = new HashSet<Tbl_MsgReply>();
        }
        public int ID { get; set; }

        public int MsgId { get; set; }

        [Required]
        public string Content { get; set; }

        public DateTime ReplyTime { get; set; }

        public virtual Tbl_Message Tbl_Message { get; set; }

        public virtual Tbl_MsgReply Parent { set; get; }

        public int? ParentID { set; get; }

        public string ReplyUid { set; get; }

        public virtual ICollection<Tbl_MsgReply> MsgReplyList { set; get; }

        public string AgreeUsers { get; set; }
    }
}
